﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000577 RID: 1399
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class FightTreasureDungeonMonsterCsReq : IMessage<FightTreasureDungeonMonsterCsReq>, IMessage, IEquatable<FightTreasureDungeonMonsterCsReq>, IDeepCloneable<FightTreasureDungeonMonsterCsReq>, IBufferMessage
	{
		// Token: 0x170011F5 RID: 4597
		// (get) Token: 0x06003EDA RID: 16090 RVA: 0x000AC9EF File Offset: 0x000AABEF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<FightTreasureDungeonMonsterCsReq> Parser
		{
			get
			{
				return FightTreasureDungeonMonsterCsReq._parser;
			}
		}

		// Token: 0x170011F6 RID: 4598
		// (get) Token: 0x06003EDB RID: 16091 RVA: 0x000AC9F6 File Offset: 0x000AABF6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return FightTreasureDungeonMonsterCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170011F7 RID: 4599
		// (get) Token: 0x06003EDC RID: 16092 RVA: 0x000ACA08 File Offset: 0x000AAC08
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return FightTreasureDungeonMonsterCsReq.Descriptor;
			}
		}

		// Token: 0x06003EDD RID: 16093 RVA: 0x000ACA0F File Offset: 0x000AAC0F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public FightTreasureDungeonMonsterCsReq()
		{
		}

		// Token: 0x06003EDE RID: 16094 RVA: 0x000ACA24 File Offset: 0x000AAC24
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public FightTreasureDungeonMonsterCsReq(FightTreasureDungeonMonsterCsReq other) : this()
		{
			this.hMPPFGCIFJK_ = other.hMPPFGCIFJK_;
			this.gridId_ = other.gridId_;
			this.avatarList_ = other.avatarList_.Clone();
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06003EDF RID: 16095 RVA: 0x000ACA71 File Offset: 0x000AAC71
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public FightTreasureDungeonMonsterCsReq Clone()
		{
			return new FightTreasureDungeonMonsterCsReq(this);
		}

		// Token: 0x170011F8 RID: 4600
		// (get) Token: 0x06003EE0 RID: 16096 RVA: 0x000ACA79 File Offset: 0x000AAC79
		// (set) Token: 0x06003EE1 RID: 16097 RVA: 0x000ACA81 File Offset: 0x000AAC81
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint HMPPFGCIFJK
		{
			get
			{
				return this.hMPPFGCIFJK_;
			}
			set
			{
				this.hMPPFGCIFJK_ = value;
			}
		}

		// Token: 0x170011F9 RID: 4601
		// (get) Token: 0x06003EE2 RID: 16098 RVA: 0x000ACA8A File Offset: 0x000AAC8A
		// (set) Token: 0x06003EE3 RID: 16099 RVA: 0x000ACA92 File Offset: 0x000AAC92
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint GridId
		{
			get
			{
				return this.gridId_;
			}
			set
			{
				this.gridId_ = value;
			}
		}

		// Token: 0x170011FA RID: 4602
		// (get) Token: 0x06003EE4 RID: 16100 RVA: 0x000ACA9B File Offset: 0x000AAC9B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<TreasureDungeonAvatar> AvatarList
		{
			get
			{
				return this.avatarList_;
			}
		}

		// Token: 0x06003EE5 RID: 16101 RVA: 0x000ACAA3 File Offset: 0x000AACA3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as FightTreasureDungeonMonsterCsReq);
		}

		// Token: 0x06003EE6 RID: 16102 RVA: 0x000ACAB4 File Offset: 0x000AACB4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(FightTreasureDungeonMonsterCsReq other)
		{
			return other != null && (other == this || (this.HMPPFGCIFJK == other.HMPPFGCIFJK && this.GridId == other.GridId && this.avatarList_.Equals(other.avatarList_) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06003EE7 RID: 16103 RVA: 0x000ACB14 File Offset: 0x000AAD14
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.HMPPFGCIFJK != 0U)
			{
				num ^= this.HMPPFGCIFJK.GetHashCode();
			}
			if (this.GridId != 0U)
			{
				num ^= this.GridId.GetHashCode();
			}
			num ^= this.avatarList_.GetHashCode();
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06003EE8 RID: 16104 RVA: 0x000ACB7A File Offset: 0x000AAD7A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06003EE9 RID: 16105 RVA: 0x000ACB82 File Offset: 0x000AAD82
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06003EEA RID: 16106 RVA: 0x000ACB8C File Offset: 0x000AAD8C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.GridId != 0U)
			{
				output.WriteRawTag(64);
				output.WriteUInt32(this.GridId);
			}
			this.avatarList_.WriteTo(ref output, FightTreasureDungeonMonsterCsReq._repeated_avatarList_codec);
			if (this.HMPPFGCIFJK != 0U)
			{
				output.WriteRawTag(88);
				output.WriteUInt32(this.HMPPFGCIFJK);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06003EEB RID: 16107 RVA: 0x000ACBF8 File Offset: 0x000AADF8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.HMPPFGCIFJK != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.HMPPFGCIFJK);
			}
			if (this.GridId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.GridId);
			}
			num += this.avatarList_.CalculateSize(FightTreasureDungeonMonsterCsReq._repeated_avatarList_codec);
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06003EEC RID: 16108 RVA: 0x000ACC64 File Offset: 0x000AAE64
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(FightTreasureDungeonMonsterCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.HMPPFGCIFJK != 0U)
			{
				this.HMPPFGCIFJK = other.HMPPFGCIFJK;
			}
			if (other.GridId != 0U)
			{
				this.GridId = other.GridId;
			}
			this.avatarList_.Add(other.avatarList_);
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06003EED RID: 16109 RVA: 0x000ACCC5 File Offset: 0x000AAEC5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06003EEE RID: 16110 RVA: 0x000ACCD0 File Offset: 0x000AAED0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 64U)
				{
					if (num != 74U)
					{
						if (num != 88U)
						{
							this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
						}
						else
						{
							this.HMPPFGCIFJK = input.ReadUInt32();
						}
					}
					else
					{
						this.avatarList_.AddEntriesFrom(ref input, FightTreasureDungeonMonsterCsReq._repeated_avatarList_codec);
					}
				}
				else
				{
					this.GridId = input.ReadUInt32();
				}
			}
		}

		// Token: 0x040018E1 RID: 6369
		private static readonly MessageParser<FightTreasureDungeonMonsterCsReq> _parser = new MessageParser<FightTreasureDungeonMonsterCsReq>(() => new FightTreasureDungeonMonsterCsReq());

		// Token: 0x040018E2 RID: 6370
		private UnknownFieldSet _unknownFields;

		// Token: 0x040018E3 RID: 6371
		public const int HMPPFGCIFJKFieldNumber = 11;

		// Token: 0x040018E4 RID: 6372
		private uint hMPPFGCIFJK_;

		// Token: 0x040018E5 RID: 6373
		public const int GridIdFieldNumber = 8;

		// Token: 0x040018E6 RID: 6374
		private uint gridId_;

		// Token: 0x040018E7 RID: 6375
		public const int AvatarListFieldNumber = 9;

		// Token: 0x040018E8 RID: 6376
		private static readonly FieldCodec<TreasureDungeonAvatar> _repeated_avatarList_codec = FieldCodec.ForMessage<TreasureDungeonAvatar>(74U, TreasureDungeonAvatar.Parser);

		// Token: 0x040018E9 RID: 6377
		private readonly RepeatedField<TreasureDungeonAvatar> avatarList_ = new RepeatedField<TreasureDungeonAvatar>();
	}
}
